<div class="m-tab s-tab">
	<h2 class="u-tt">预设管理</h2>
	<ul>
		<li><a href="{$url|'duxcms/AdminModel/index'}">模型列表</a></li>
		<li class="z-crt"><a href="javascript:;">文章模块</a></li>
	</ul>
</div>
<div class="m-form">
	<form name="" action="<?php echo url('AdminModel/editData'); ?>" method="post" id="form">
		<fieldset>
			<div class="formitm">
				<label class="lab">分页数：</label>
				<div class="ipt">
					<input name="page" type="text" class="u-ipt u-ipt-5" id="page" value="{$info.page}" maxlength="100" datatype="n" errormsg="分页数只能为数字！"  />
					<p>添加文章栏目时的默认分页数量</p>
				</div>
			</div>
			<div class="formitm">
				<label class="lab">分页排序：</label>
				<div class="ipt">
					<select name="content_order" class="u-slt" id="content_order">
							<option  {if="$info['content_order']=='time DESC'"} selected="selected" {/if} value="time DESC">发布时间 新-旧 </option>
							<option  {if="$info['content_order']=='time ASC'"} selected="selected" {/if} value="time ASC">发布时间 旧-新 </option>
							<option  {if="$info['content_order']=='sequence DESC'"} selected="selected" {/if} value="sequence DESC">自定义排序 大-小 </option>
							<option  {if="$info['content_order']=='sequence ASC'"} selected="selected" {/if} value="sequence ASC">自定义排序 小-大 </option>
						</select>
					<p>添加文章栏目时内容的默认排序</p>
				</div>
			</div>
			<div class="formitm">
				<label class="lab">栏目模板：</label>
				<div class="ipt">
					<input name="class_tpl" type="text" class="u-ipt u-ipt-5" id="class_tpl" value="{$info.class_tpl}" maxlength="250" datatype="*"  />
					<p>添加文章栏目时默认栏目模板</p>
				</div>
			</div>
			<div class="formitm">
				<label class="lab">内容模板：</label>
				<div class="ipt">
					<input name="content_tpl" type="text" class="u-ipt u-ipt-5" id="content_tpl" value="{$info.content_tpl}" maxlength="250" datatype="*"  />
					<p>添加文章栏目时默认内容模板</p>
				</div>
			</div>
			<div class="formitm">
				<label class="lab">绑定字段集：</label>
				<div class="ipt">
					<select name="fieldset_id" class="u-slt" id="fieldset_id">
							<option value="0">==不绑定==</option>
							<!--{loop="$FieldsetList $vo"}--> 
							<option value="{$vo.fieldset_id}" {if="$info['fieldset_id']==$vo['fieldset_id']"} selected="selected" {/if} >
							{$vo.name}
							</option>
							<!--{/loop}-->
						</select>
					<p>添加文章栏目时默认绑定的字段集</p>
				</div>
			</div>
			<div class="formitm">
				<label class="lab">内容来源：</label>
				<div class="ipt">
					<input name="copyfrom" type="text" class="u-ipt u-ipt-5" id="copyfrom" value="{$info.copyfrom}" maxlength="250" datatype="*"  />
					<p>添加文章时默认内容来源</p>
				</div>
			</div>
			<div class="formitm formitm-1  formitm-2">
				<button class="u-btn" type="submit">保存</button>
				<button class="u-btn s-btn-c3" type="reset">重置</button>
				<span class="status" id="status"></span> </div>
		</fieldset>
	</form>
</div>
<script>
Do.ready('base','form','dialog',function() {
	$('#form').duxForm({returnUrl:'{$url|"duxcms/AdminModel/index"}'});
});
</script>